package cn.wolfcode.ssm.service;

import cn.wolfcode.ssm.domain.Notice;
import cn.wolfcode.ssm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface INoticeService {

    void delete(Long id);

    void save(Notice notice);

    Notice getOne(Long id);

    List<Notice> getAll();

    void update(Notice notice);

    PageInfo<Notice> selctForPageResult(QueryObject qo);

    void insertRelation(Long noticeId,  Long employeeId);

    void deleteRelation(Long id);

    List<Long> getNotice(Long id);
}
